package com.xwaf.platform.system.auth.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.xwaf.platform.common.service.service.CrudService;
import com.xwaf.platform.system.api.entity.auth.Version;
import com.xwaf.platform.system.api.service.auth.VersionService;
import com.xwaf.platform.system.auth.dao.VersionDao;

/**
 * 
 * <p>
 * 版本配置表
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019-5-30 16:00:44 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Transactional(readOnly = true)
@Service("versionService")
public class VersionServiceImpl extends CrudService<VersionDao, Version> implements VersionService {

	@Autowired
	private VersionDao versionDao;

	@Override
	public Page<Version> selPageList(Page<Version> page, Version version) {
		List<Version> list = versionDao.selPageList(page, version);
		page.setRecords(list);
		return page;
	}

}
